<template>
    <div id="chat">
        <iframe class="dy-inframe" frameborder="0" :src="roomId"></iframe>
    </div>
</template>
<script>
    export default {
        name: 'chat',

        computed: {

            roomId() {
                console.log(this.$route.query.id)
                return '//m.douyu.com/' + this.$route.query.id
            }
        },

    }
</script>
<style scoped>
    .dy-inframe {
        width: 100%;
        height: 1050px;
        overflow-x: hidden;
        overflow-y: auto;
    }
</style>